home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Test < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Test
  2. Sent:        9/10/96 4:24 PM
  3. Received:    9/10/96 4:24 PM
  4. From:        bobc@bcstec.ca.boeing.com (Bob Carpenter)
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. This is my second attempt today to send this message to the list,
  10. so please excuse me if this is redundant.
  11.  
  12. In the DR5 version of the Developer's Guide, chapter 4 - "Working With Views"
  13. describes how to adjust subviews by overriding AdjustSubViews. It uses 
  14. ODFForm as an example. The problem is this is apparently outdated
  15. because ODFForm's Frame doesn't have an AdjustSubViews method. So,
  16. I don't understand how the frame adjusts its views. Is it done through
  17. FrameShapeChanged?
  18.  
  19. The reason I ask is because I've created a part from the Hello template,
  20. and then decided I'd like to have subview capability. So, I cloned
  21. the View class from ODFForm as well as ODFormFrame's CreateSubViews and
  22. FrameShapeChanged methods. It's working a bit now, but minus any scrollbars.
  23. And also -  this is the main problem - the view of the content seems anchored
  24. to the growbox; so that the text content goes out of view if you drag the
  25. frame large enough. When you drag it smaller it comes back into view.
  26.  
  27. Any ideas on how to fix this up?  I can email my editor if my description
  28. above doesn't make sense.
  29.  
  30. Thanks.
  31.  
  32. -- 
  33.  
  34. --BobC
  35.  
  36.   Bob Carpenter
  37.   Boeing Commercial Airplanes
  38.   bob.carpenter@boeing.com